home *** CD-ROM | disk | FTP | other *** search
INI File | 1993-09-07 | 8.8 KB | 179 lines |
- ;********************************************************************
- ; SHEZ User Initialization file *
- ; (SAMPLE FILE ONLY!!!!!) *
- ; *
- ; AFTER MODIFYING THIS FILE IT MUST *
- ; BE RENAME TO: *
- ; SHEZ.INI *
- ; AND THEN COPIED TO A DIRECTORY THAT IS *
- ; IN YOUR PATH STATEMENT. *
- ; *
- ; *
- ;FORMAT OF FILE: *
- ; Each line must end with a Carriage return, Line feed. *
- ; Everything to the right of a semicolon treated as comments. *
- ; *
- ; External viewer programs are specified as follows: *
- ; EXT = PROGRAM *
- ; WHERE ext is the file extension (DO NOT ENTER THE PERIOD!) *
- ; program is the program to execute based on the selected *
- ; file extension. *
- ; $f indicates to SHEZ where to place the filename *
- ; when executing the program. *
- ;EXAMPLE: *
- ; C=E:\UTY\QEDIT.EXE $F *
- ; *
- ; If the highlighted file in SHEZ is HELP.C then SHEZ will *
- ; attempt to execute E:\UTY\QEDIT.EXE HELP.C *
- ; *
- ;********************************************************************
- ; ADVANCED FEATURES *
- ; *
- ;SPECIFYING A STARTUP DIRECTORY: *
- ; To tell SHEZ to change to a specific directory before running *
- ; the specified external file viewer use the vertical bar *
- ; character to separate the startup directory name from the *
- ; viewer command as shown below: *
- ; *
- ;GIF=E:\GIF\VPIC.EXE $F|G:\GIF\VPIC *
- ; *
- ; *
- ;TELLING SHEZ TO PAUSE AFTER RUNNING THE VIEWER: *
- ; SHEZ can pause before returning to itself allowing you to *
- ; view the contents of the screen after the external viewer *
- ; has been executed. This is accomplished by placing the ~ *
- ; character immediately after the equal sign. *
- ; *
- ;GIF=~E:\GIF\VPIC.EXE $F|G:\GIF\VPIC *
- ; *
- ; *
- ;********************************************************************
-
-
-
-
- [External Viewers] ;THIS IS A REQUIRED ENTRY, TELLS SHEZ WHERE
- ;THE EXTERNAL VIEWER DATA BEGINS
-
- generic=list.com $f ;This is a generic viewer it will be executed if
- ;the highlighted file's extension is not specified,
- ;or there is no file extension.
-
- H =Q.EXE $f ;Run q.exe for file with .h extension
-
- DOC=E.EXE $f ;Run e.exe for file with .doc extension
-
- WP =WPVIEW.EXE $F ;Run wpview.exe for file with .wp extension
-
- C=E.EXE $F ;Run e.exe for file with .c extension
-
-
-
- ;********************************************************************
- ; SETTING UP PRINTERS *
- ; *
- ;Up to three user defined printers can be defined. Each printer *
- ;definition requires it's own section name. The section name *
- ;is: [PRINTERx] where x is 1,2, or 3. *
- ;Each printer section must have the following keyword defined: *
- ; *
- ;NAME *
- ; user defined name of printer (25 characters or less) *
- ;SETUP *
- ; printer setup string *
- ;CHARS-PER-LINE *
- ; maximum number of characters per line *
- ;LINE-PER-PAGE *
- ; maximum number of lines per page *
- ;ENDUP *
- ; printer endup string (THIS IS OPTIONAL) *
- ; *
- ;The printer SETUP and ENDUP strings can be up to 100 characters in *
- ;length. The strings CAN NOT contain carriage return or line feed *
- ;characters. If these must be included in the string use the $ *
- ;character to enter their HEX equivalent. I.E. a carriage return *
- ;would be entered as $0d. The $ character indicates to SHEZ that the*
- ;next two characters are to be interpreted as HEX. For example to *
- ;enter the ASCII ESC character into the setup string use the *
- ;following in your string: $1b. *
- ; *
- ;********************************************************************
-
-
- [Printer1] ;HPLASER II-IV portrait compressed
- name=HP-port-compress
- setup=$1bE$1b(10U$1b(s16.6H$1b&l8D
- endup=$1bE
- chars-per-line=132
- lines-per-page=80
-
- [Printer2] ;HPLASER II-IV landscape compressed
- name=HP-land-compress
- setup=$1bE$1b&l1O$1b(10U$1b(s16.6H$1b&l8D
- endup=$1bE
- chars-per-line=174
- lines-per-page=64
-
-
- ;*********************************************************************
- ; SETTING UP USER MENUS
- ;
- ;Up to 10 user defined menu items may be defined in this section.
- ;Each menu item MUST have a NAME parameter and a PROGRAM parameter
- ;defined. The NAME parameter is the text that will appear drop
- ;down menu when the uSer menu option is selected. The PROGRAM
- ;parameter defines what program or batch file will be executed
- ;when the item is selected. The rules for defining these two
- ;keyword parameters are as follows:
- ;
- ;NAME
- ; User defined text of 25 characters or less. This text will
- ; appear on the drop down menu.
- ;
- ;PROGRAM
- ; The program or batch file to execute when the selection is
- ; chosen.
- ;
- ;
- ;SPECIFYING A STARTUP DIRECTORY:
- ; To tell SHEZ to change to a specific directory before running
- ; the specified user program use the vertical bar character to
- ; separate the startup directory name from the program/batch
- ; file to execute as shown below:
- ;
- ; PROGRAM=E:\GIF\VPIC.EXE|G:\GIF\VPIC
- ;
- ;
- ;TELLING SHEZ TO PAUSE AFTER RUNNING A PROGRAM
- ; SHEZ can pause before returning to itself allowing you to
- ; view the contents of the screen after the program
- ; has been executed. This is accomplished by placing the ~
- ; character immediately after the equal sign.
- ;
- ; PROGRAM=~E:\GIF\VPIC.EXE|G:\GIF\VPIC
- ;
- ;PASSING A FILE TO A USER DEFINED PROGRAM
- ; By using the $f characters when defining the PROGRAM to execute
- ; you can pass the currently highlighted filename to an external
- ; program. The $f tell SHEZ where to place the filename when
- ; launching a user specified program.
- ;
- ; This will also work when viewing the contents of a compressed file.
- ; When viewing the contents of a compressed file, if the $f characters
- ; are defined in the PROGRAM specification, the highlighted file is
- ; extracted to a work directory and the user program is launched.
- ; When the user program is exited, SHEZ will then check the extracted
- ; works file's time and date stamp. If the work file was updated
- ; SHEZ will REFRESH the copy of the file in the compressed file.
- ;*********************************************************************
-
-
- [User-menu]
- Name=WordPerfect 5.1
- Program=E:\APPS\WP51\WP.EXE /nk|E:\APPS\WP51
-
- Name=WordPerfect 5.1 (pass file)
- Program=E:\APPS\WP51\WP.EXE $f /nk|E:\APPS\WP51
-
- Name=WordPerfect 6.0
- Program=U:\WP60\WP.EXE /nk|U:\WP60